{layout name="layout" /}

<link rel="stylesheet" href="/static/css/title.css">
<link rel="stylesheet" href="/static/css/bootstrap.css">
<link rel="stylesheet" href="/static/css/zhuce.css">
<link rel="stylesheet" href="/static/css/jquery-ui.min.css">
<script src="http://www.jq22.com/jquery/jquery-1.10.2.js"></script>
<script src="http://www.jq22.com/jquery/jquery-ui-1.11.0.js"></script>
<link href="/static/js/jquery-ui.min.css" rel="stylesheet"/>
<script src="/static/js/jquery-ui-timepicker-addon.min.js"></script>
<script src="/static/js/other.js"></script>
<script src="/static/js/bootstrap.min.js"></script>
<script src="/static/js/verify.js"></script>
<script>
    (function ($) {
        $(function () {
            $.datepicker.regional['zh-CN'] = {
                changeMonth: true,
                changeYear: true,
                clearText: '清除',
                clearStatus: '清除已选日期',
                closeText: '关闭',
                closeStatus: '不改变当前选择',
                prevText: '<上月',
                prevStatus: '显示上月',
                prevBigText: '<<',
                prevBigStatus: '显示上一年',
                nextText: '下月>',
                nextStatus: '显示下月',
                nextBigText: '>>',
                nextBigStatus: '显示下一年',
                currentText: '今天',
                currentStatus: '显示本月',
                monthNames: ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月'],
                monthNamesShort: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'],
                monthStatus: '选择月份',
                yearStatus: '选择年份',
                weekHeader: '周',
                weekStatus: '年内周次',
                dayNames: ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'],
                dayNamesShort: ['周日', '周一', '周二', '周三', '周四', '周五', '周六'],
                dayNamesMin: ['日', '一', '二', '三', '四', '五', '六'],
                dayStatus: '设置 DD 为一周起始',
                dateStatus: '选择 m月 d日, DD',
                dateFormat: 'yy-mm-dd',
                firstDay: 1,
                initStatus: '请选择日期',
                isRTL: false
            };

        });

        $(function () {

            $.datepicker.setDefaults($.datepicker.regional['zh-CN']);

            $("#defult").datetimepicker();

            $('#date').prop("readonly", true).datetimepicker({
                timeText: '时间',
                hourText: '小时',
                minuteText: '分钟',
                secondText: '秒',
                currentText: '现在',
                closeText: '完成',
                showSecond: true, //显示秒
                timeFormat: 'HH:mm:ss' //格式化时间
            });

            $("#date_yy-mm-dd").prop("readonly", true).datepicker({
                changeMonth: true,
                dateFormat: "yy-mm-dd",
                onClose: function (selectedDate) {

                }

            });

        });


    }(jQuery));
</script>
<div class="biaodan">
    <h3>代理账户登记表</h3>
    <form action="" method="post">
        <input type="hidden" value="3" name="catid"/>
        <div class="type-box">
            <h4><span class="red">*</span>&nbsp;&nbsp;公司资料(若没有，请填'NONE')</h4>
            <div class="type-con">
                <label for="company">公司名称 <br>
                    <input type="text" value="NONE" id='corpname' value="{$record.corpname}" name = "corpname">
                </label>
            </div>
        </div>
        <div class="type-box">
            <h4><span class="red">*</span>&nbsp;&nbsp;客户资料</h4>
            <div class="type-con">
                <label for="contact_x">
                    <span class="red">*</span>
                    姓氏 <br>
                    <input type="text" name="contact_x" id="contact_x" value = "{$record.contact_x}" required>
                </label>
                <label for="contact_m">
                    <span class="red">*</span>
                    名字 <br>
                    <input type="text" name="contact_m" id="contact_m" value = "{$record.contact_m}" required>
                </label>
                <label for="birthday">
                    <span class="red">*</span>
                    生日(月/日/年) <br>
                    <input type="text" name="birthday" id="date_yy-mm-dd" value = "{$record.birthday}" id="birthday" required>
                </label>
                <label for="sex">
                    性别 <br>
                    <select name="sex" id="sex">
                        <option value="">--请选择--</option>
                        {:dc2option("DC_SEX",$record['sex'])}
                    </select>
                </label>
                <label for="email">
                    <span class="red">*</span>
                    电子邮箱（主要联系方式）<span class="red emailError"></span><br>
                    <input type="text" id="email" name="email" class="long"  value = "{$record.email}" required>
                </label>
                <label for="phone">
                    <span class="red">*</span>
                    联系电话 <span class='red phoneError'></span><br>
                    <input type="text" name="phone" id="phone" value = "{$record.phone}" required>
                </label>
                <label for="country"><span class="red">*</span>国家<br>
                    <select name="country" id="country">
                        <option value="">--请选择--</option>
                        {:dc2option("DC_COUNTRY",$record['country'])}
                    </select>
                </label>
                <label for="city">
                    <span class="red">*</span>城市<br>
                    <input type="text" name="city" id="city" value = "{$record.city}">
                </label>
                <label for="address">
                    <span class="red">*</span>地址<br>
                    <input type="text" name="address" id="address" class="long" value = "{$record.address}">
                </label>
                <label for="postcode">
                    邮编<br>
                    <input type="text" name="postcode" id="postcode" value = "{$record.postcode}">
                </label>
            </div>
        </div>
        <div class="type-box">
            <h4><label class="red">*</label> 相关证件</h4>
            <div class="type-con">
                <label><span class="red">*</span>证件类型<br>
                    <select id="00N90000002hCQ7" name="cardtype" title="证件" class="len4" required>
                        {:dc2option("DC_CERT_TYPE",$record['cardtype'])}
                    </select>
                </label>

                <label>
                    <span class="red">*</span>证件号码<br>
                    <input type="text" id="00N90000002hCQf" name="card" class="long" value = "{$record.card}" required>
                </label>
            </div>
        </div>
        <div class="type-box">
            <h4 class="contorl"><span class="red">*</span>银行信息</h4>
            <div class="type-con">
                <label><span class="red">*</span>银行名称<br>
                    <input type="text" id="00N90000003GKus" name="bank"  value = "{$record.bank}" class="len5" required>
                </label>
                <label><span class="red">*</span>银行账号<br>
                    <input type="text" id="00N90000003GKxL" name="bankcard" value = "{$record.bankcard}" class="len5" required>
                </label>
                <label>国际代码<br>
                    <input type="text" id="00N90000003GKv2" name="bankcode" value = "{$record.bankcode}" class="len5">
                </label>
                <label><span class="red">*</span>支行名称<br>
                    <input type="text" id="00N90000003GKux" name="banksub" value = "{$record.banksub}"  class="len5">
                </label>
                <label><span class="red">*</span>持卡人姓名<br>
                    <input type="text" id="00N90000003GL35" name="bankname" value = "{$record.bankname}" class="len5">
                </label>
                <label><span class="red">*</span>账户货币种类<br>
                    <select id="00N9000000EGWan" name="coin" class="len6">
                        {:dc2option("DC_COIN",$record['coin'])}
                    </select>
                </label>
            </div>
        </div>
        <button id="saveBtn" type="submit" class="req-btn">保存并提交</button>
    </form>
</div>

</section>
{include file="public/base" /} {include file="public/footer" /}
</body>

</html>
